package com.health.personal.api.domain.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @BelongsProject: dimensionality-manage
 * @BelongsPackage: com.health.system.api.domain.dto
 * @Author: 许力匀
 * @CreateTime: 2024-12-12  20:10
 * @Description: 登录请求参数
 * @Version: 1.0
 */
@Data
public class PatientDto {

    /*
    邮件
     */
    @NotNull(message = "邮件不能为空")
    @Email(message = "邮件格式不正确，请重新输入")
    private String email ;

    /*
    密码
     */
    @NotNull(message = "密码不能为空")
    private String password ;
}
